Common HTML Codes Used in MyOpenMath
Below are some copy/pasteable codes that can be used in MyOpenMath to add different widgets to your assignments in MyOpenMath for the GeoGebra tools used inside this project.
Formatting Elements for MyOpenMath
The following code is a container I made for the "Question Text" portion of MyOpenMath so that problems are displayed in a visually appealing way. The font, color of the contents, and background-colors are all customizable.
Contains a div element for embedding into MyOpenMath problems to make the "Question Text" area pretty with the following settings:
- The <div> uses a light green background (#DFF6DD) with dark green text (#034732) for clarity.
- Added padding and rounded corners for a modern, clean design.
- The font size is 16px and font stack prioritizes "Roboto", with fallbacks to "Arial" and generic sans-serif fonts.
The following code is a container I made for my "Instruction Text" portion of MyOpenMath assessments so that they are displayed in a visually appealing way. The font, color of the contents, and background-colors are all customizable.
Contains a div element for containing instructions into MyOpenMath problems to make the "Instruction" area for tests and quizzes pretty with the following settings:
- The <div> uses a soft pastel orange background (#FFD8B1) with deep reddish-brown text (#6B1E1E) for clarity.
- Added padding and rounded corners for a modern, clean design.
- The font size is 16px and font stack prioritizes "Roboto", with fallbacks to "Arial" and generic sans-serif fonts.
Here is some code that contains the script element for making a "copy to clipboard" button as well as the "pre" element that contains the CSV data that will be copied.
Contains an HTML snippet that provides a "Copy to Clipboard" script element, the "button" HTML, and the pre CSV (output as $preCSV using the next code) element with the dataset inside a styled container for MyOpenMath.
Here is some code that contains the PHP code for setting data arrays and putting them into a nice table in the "Common Control" section of MyOpenMath. Includes code to add the "stats" library, and has code to make the data table collapsable.
Contains PHP snippet that for making an array of data for two columns and putting it into a table. The code loads the "stats" library, and can be pasted into the "common control" section of a MyOpenMath problem.
Chapter 1 and Chapter 4 Tool
Just providing a GeoGebra calculator is simple enough for most of chapter 1 and chapter 4. Below is a link you can use to drop this tool into your MyOpenMath content.
Contains a responsive iframe element for embedding the Scientific Calculator GeoGebra tool into MyOpenMath or webpages.
Chapter 2 Tools - Data Visualization and Organization
Most of the tools in this section provide tables or graphs based on the data entered into the spreadsheet columns.
Contains a responsive iframe element for embedding the GeoGebra Frequency Distribution tool into MyOpenMath problems.
Contains a responsive iframe element for embedding the Histogram Generator GeoGebra tool into MyOpenMath problems.
Contains a responsive iframe element for embedding the Stem-And-Leaf Plot GeoGebra tool into MyOpenMath problems.
Contains a responsive iframe element for embedding the Dot Plot GeoGebra tool into MyOpenMath problems.
Contains a responsive iframe element for embedding the Time Series Plot GeoGebra tool into MyOpenMath problems.
Contains a responsive iframe element for embedding the Bar and Pie Graph GeoGebra tool into MyOpenMath problems.
Chapter 3 Tools - Descriptive Statistics
Below are the GeoGebra tool iframe elements for the descriptive statistics chapter of content that calculate these based on data that is in columns in the spreadsheet.
Contains a responsive iframe element for embedding the Summary Stats Calculator GeoGebra tool into MyOpenMath problems.
Contains a responsive iframe element for embedding the GeoGebra Empirical Rule Calculator into MyOpenMath problems.
Contains a responsive iframe element for embedding the Box Plot Generator GeoGebra tool into MyOpenMath problems.
Chapter 5 Tools - Binomial Distributions
You can copy the Binomial GeoGebra tool's iframe element below for use in the probability distribution section of your course.
Contains a responsive iframe element for embedding the Binomial Distribution Calculator GeoGebra tool into MyOpenMath problems.
Chapter 6 - Normal Distributions
Here is the GeoGebra applet iframe element for working with the normal distribution (finding areas, z-scores, etc).
Contains a responsive iframe element for embedding the Normal Distribution Calculator GeoGebra tool into MyOpenMath problems.
Chapter 7, 8, and 9 - Inferential Statistics
Here is the iframe element for the tool that will do all of your inferential statistics calculations for the final leg of the statistics course.
Contains a responsive iframe element for embedding the Confidence Intervals and Hypothesis Testing GeoGebra tool into MyOpenMath problems.
Contains a responsive iframe element for embedding the T-Distribution Calculator GeoGebra tool into MyOpenMath problems.
Chapter 10 - Linear Regression
Here is the tool used for the Linear Regression, Correlation, and Prediction section of the statistics course.
Contains a responsive iframe element for embedding the Linear Regression GeoGebra tool into MyOpenMath problems.